package com.rain.demo.service.impl;

import com.rain.demo.entity.SysFile;
import com.rain.demo.mapper.SysFileMapper;
import com.rain.demo.service.SysFileService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import lombok.AllArgsConstructor;

/**
 * 文件管理表(SysFile)表服务实现类
 *
 * @author whp
 * @since 2021-12-02 09:53:16
 */
@Service
@AllArgsConstructor
public class SysFileServiceImpl extends ServiceImpl<SysFileMapper, SysFile> implements SysFileService {

    private final SysFileMapper sysFileMapper;


    @Override
    public SysFile info(long id) {
        return sysFileMapper.selectById(id);
    }
}